<?php
class TRequiredTextField extends TTemplateControl{
	public function getTextField() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('TextField');
    }
	public function getValidator() {
        $this->ensureChildControls();
        return $this->getRegisteredObject('Validator');
    }
	public function setSkinID($value){
		$this->TextField->SkinID = $value;  
		$this->Validator->SkinID = $value;
	}
	public function setLabel($value){
		$this->TextField->Label = $value;
	}
	public function setTextMode($value){
		$this->TextField->TextMode = $value;
	}
	public function setValidationGroup($value){
		$this->Validator->ValidationGroup=$value;
	}
}
?>